import { Router } from 'hyper-express';
import { uctooWechatopenAuthController } from '../../../controllers';

const wechatopenRouter = new Router();
const wechatopenController = new uctooWechatopenAuthController();

wechatopenRouter.get('/oauthRedirect', wechatopenController.oauthRedirect);
wechatopenRouter.post('/oauthCallback', wechatopenController.oauthCallback);

export default wechatopenRouter;
